package adcomm

import "wzgames/pkg/actor/actor"

type IAdmin interface {
	AdminId() int64
	Pid() *actor.PID
	Name() string
	NickName() string
	Avatar() string
	SendMessage(msg interface{})
	ErrMsg(code int16, cmd, msg string)
}

type WsCmdFn func(IAdmin, interface{})
